package com.zhangmengyuan.medical.dao;

import com.zhangmengyuan.medical.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserDao extends JpaRepository<User, Integer> {

    User findByUserNameOrEmailOrPhone(String name, String email, String phone);
}
